package basic;

import java.lang.String;

/**
 * Created by Robo on 2021/7/15.
 */
public class StackoverflowException {
    public static void main(String[] args) {
        callMyself();
    }

    //写一个无限递归的方法
    public static String callMyself(){
        int i = 1;
        if (i == 1) {
            return callMyself();
        } else {
            return "";
        }
    }
}
